package us.sunrisemorning.douyuchat;

import java.util.HashMap;
import java.util.Map;

public class Message {
	private Map<String, String> data = new HashMap<String, String>();

	public String getType() {
		return data.get("type");
	}

	public void setType(String type) {
		data.put("type", type);
	}

	public String get(String key) {
		return data.get(key);
	}

	public void set(String key, String value) {
		data.put(key, value);
	}

	public Map<String, String> getData() {
		return data;
	}
}
